package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="NZJZ_CZJY"
 *     
*/
public class NzjzCzjy implements Serializable {

    /** identifier field */
    private String jybh;

    /** persistent field */
    private String nd;

    /** persistent field */
    private String kmbm;

    /** nullable persistent field */
    private String zfxmbm;

    /** persistent field */
    private BigDecimal qnysshj;

    /** persistent field */
    private BigDecimal qnysssdq;

    /** persistent field */
    private BigDecimal qnysssdh;

    /** persistent field */
    private BigDecimal pfykjhshj;

    /** persistent field */
    private BigDecimal pfykjhsjbzj;

    /** persistent field */
    private BigDecimal pfykjhsjbsq;

    /** persistent field */
    private BigDecimal pfykjhsxmzj;

    /** persistent field */
    private BigDecimal pfykjhsxmsq;

    /** persistent field */
    private BigDecimal qnsjzcsdhxj;

    /** persistent field */
    private BigDecimal qnsjzcjbzj;

    /** persistent field */
    private BigDecimal qnsjzcjbsq;

    /** persistent field */
    private BigDecimal qnsjzcxmzj;

    /** persistent field */
    private BigDecimal qnsjzcxmsq;

    /** persistent field */
    private BigDecimal zbjyshj;

    /** persistent field */
    private BigDecimal zbjyshjjbzj;

    /** persistent field */
    private BigDecimal zbjysjbsq;

    /** persistent field */
    private BigDecimal zbjysxmzj;

    /** persistent field */
    private BigDecimal zbjysxmsq;

    /** persistent field */
    private BigDecimal sqjzhj;

    /** persistent field */
    private BigDecimal sqjhjbzj;

    /** persistent field */
    private BigDecimal sqjzjbsq;

    /** persistent field */
    private BigDecimal sqjzxmzj;

    /** persistent field */
    private BigDecimal sqjzxmsq;

    /** persistent field */
    private String hzsjBz;

    /** persistent field */
    private String jyztbh;

    /** persistent field */
    private String dwbh;

    /** nullable persistent field */
    private String sx;
    private String pfcs;
    private BigDecimal snjylj ;
    private String yslxDm ;
    private String czpzwh ;
    private BigDecimal jytz ;
    private BigDecimal jytj ;
    /** nullable persistent field */
    private String zt1;

    /** nullable persistent field */
    private String zt2;

    /** full constructor */
    public NzjzCzjy(String jybh, String nd, String kmbm, String zfxmbm, BigDecimal qnysshj, BigDecimal qnysssdq, BigDecimal qnysssdh, BigDecimal pfykjhshj, BigDecimal pfykjhsjbzj, BigDecimal pfykjhsjbsq, BigDecimal pfykjhsxmzj, BigDecimal pfykjhsxmsq, BigDecimal qnsjzcsdhxj, BigDecimal qnsjzcjbzj, BigDecimal qnsjzcjbsq, BigDecimal qnsjzcxmzj, BigDecimal qnsjzcxmsq, BigDecimal zbjyshj, BigDecimal zbjyshjjbzj, BigDecimal zbjysjbsq, BigDecimal zbjysxmzj, BigDecimal zbjysxmsq, BigDecimal sqjzhj, BigDecimal sqjhjbzj, BigDecimal sqjzjbsq, BigDecimal sqjzxmzj, BigDecimal sqjzxmsq, String hzsjBz, String jyztbh, String dwbh, String sx, String pfcs,BigDecimal snjylj,String yslxDm,String czpzwh, BigDecimal jytz,BigDecimal jytj,String zt1, String zt2) {
        this.jybh = jybh;
        this.nd = nd;
        this.kmbm = kmbm;
        this.zfxmbm = zfxmbm;
        this.qnysshj = qnysshj;
        this.qnysssdq = qnysssdq;
        this.qnysssdh = qnysssdh;
        this.pfykjhshj = pfykjhshj;
        this.pfykjhsjbzj = pfykjhsjbzj;
        this.pfykjhsjbsq = pfykjhsjbsq;
        this.pfykjhsxmzj = pfykjhsxmzj;
        this.pfykjhsxmsq = pfykjhsxmsq;
        this.qnsjzcsdhxj = qnsjzcsdhxj;
        this.qnsjzcjbzj = qnsjzcjbzj;
        this.qnsjzcjbsq = qnsjzcjbsq;
        this.qnsjzcxmzj = qnsjzcxmzj;
        this.qnsjzcxmsq = qnsjzcxmsq;
        this.zbjyshj = zbjyshj;
        this.zbjyshjjbzj = zbjyshjjbzj;
        this.zbjysjbsq = zbjysjbsq;
        this.zbjysxmzj = zbjysxmzj;
        this.zbjysxmsq = zbjysxmsq;
        this.sqjzhj = sqjzhj;
        this.sqjhjbzj = sqjhjbzj;
        this.sqjzjbsq = sqjzjbsq;
        this.sqjzxmzj = sqjzxmzj;
        this.sqjzxmsq = sqjzxmsq;
        this.hzsjBz = hzsjBz;
        this.jyztbh = jyztbh;
        this.dwbh = dwbh;
        this.sx = sx;
        this.pfcs = pfcs;
        this.snjylj = snjylj;
        this.yslxDm = yslxDm;
        this.czpzwh = czpzwh;
        this.jytz = jytz;
        this.jytj = jytj;
        this.zt1 = zt1;
        this.zt2 = zt2;
    }

    /** default constructor */
    public NzjzCzjy() {
    }

    /** minimal constructor */
    public NzjzCzjy(String jybh, String nd, String kmbm, BigDecimal qnysshj, BigDecimal qnysssdq, BigDecimal qnysssdh, BigDecimal pfykjhshj, BigDecimal pfykjhsjbzj, BigDecimal pfykjhsjbsq, BigDecimal pfykjhsxmzj, BigDecimal pfykjhsxmsq, BigDecimal qnsjzcsdhxj, BigDecimal qnsjzcjbzj, BigDecimal qnsjzcjbsq, BigDecimal qnsjzcxmzj, BigDecimal qnsjzcxmsq, BigDecimal zbjyshj, BigDecimal zbjyshjjbzj, BigDecimal zbjysjbsq, BigDecimal zbjysxmzj, BigDecimal zbjysxmsq, BigDecimal sqjzhj, BigDecimal sqjhjbzj, BigDecimal sqjzjbsq, BigDecimal sqjzxmzj, BigDecimal sqjzxmsq, String hzsjBz, String jyztbh, String dwbh) {
        this.jybh = jybh;
        this.nd = nd;
        this.kmbm = kmbm;
        this.qnysshj = qnysshj;
        this.qnysssdq = qnysssdq;
        this.qnysssdh = qnysssdh;
        this.pfykjhshj = pfykjhshj;
        this.pfykjhsjbzj = pfykjhsjbzj;
        this.pfykjhsjbsq = pfykjhsjbsq;
        this.pfykjhsxmzj = pfykjhsxmzj;
        this.pfykjhsxmsq = pfykjhsxmsq;
        this.qnsjzcsdhxj = qnsjzcsdhxj;
        this.qnsjzcjbzj = qnsjzcjbzj;
        this.qnsjzcjbsq = qnsjzcjbsq;
        this.qnsjzcxmzj = qnsjzcxmzj;
        this.qnsjzcxmsq = qnsjzcxmsq;
        this.zbjyshj = zbjyshj;
        this.zbjyshjjbzj = zbjyshjjbzj;
        this.zbjysjbsq = zbjysjbsq;
        this.zbjysxmzj = zbjysxmzj;
        this.zbjysxmsq = zbjysxmsq;
        this.sqjzhj = sqjzhj;
        this.sqjhjbzj = sqjhjbzj;
        this.sqjzjbsq = sqjzjbsq;
        this.sqjzxmzj = sqjzxmzj;
        this.sqjzxmsq = sqjzxmsq;
        this.hzsjBz = hzsjBz;
        this.jyztbh = jyztbh;
        this.dwbh = dwbh;
    }

    
    
    public String getYslxDm() {
		return yslxDm;
	}

	public void setYslxDm(String yslxDm) {
		this.yslxDm = yslxDm;
	}

	public String getPfcs() {
		return pfcs;
	}

	public void setPfcs(String pfcs) {
		this.pfcs = pfcs;
	}

	public BigDecimal getSnjylj() {
		return snjylj;
	}

	public void setSnjylj(BigDecimal snjylj) {
		this.snjylj = snjylj;
	}

	public String getCzpzwh() {
		return czpzwh;
	}

	public void setCzpzwh(String czpzwh) {
		this.czpzwh = czpzwh;
	}

	public BigDecimal getJytz() {
		return jytz;
	}

	public void setJytz(BigDecimal jytz) {
		this.jytz = jytz;
	}

	public BigDecimal getJytj() {
		return jytj;
	}

	public void setJytj(BigDecimal jytj) {
		this.jytj = jytj;
	}

	/** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="JYBH"
     *         
     */
    public String getJybh() {
        return this.jybh;
    }

    public void setJybh(String jybh) {
        this.jybh = jybh;
    }

    /** 
     *            @hibernate.property
     *             column="ND"
     *             length="4"
     *             not-null="true"
     *         
     */
    public String getNd() {
        return this.nd;
    }

    public void setNd(String nd) {
        this.nd = nd;
    }

    /** 
     *            @hibernate.property
     *             column="KMBM"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getKmbm() {
        return this.kmbm;
    }

    public void setKmbm(String kmbm) {
        this.kmbm = kmbm;
    }

    /** 
     *            @hibernate.property
     *             column="ZFXMBM"
     *             length="50"
     *         
     */
    public String getZfxmbm() {
        return this.zfxmbm;
    }

    public void setZfxmbm(String zfxmbm) {
        this.zfxmbm = zfxmbm;
    }

    /** 
     *            @hibernate.property
     *             column="QNYSSHJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnysshj() {
        return this.qnysshj;
    }

    public void setQnysshj(BigDecimal qnysshj) {
        this.qnysshj = qnysshj;
    }

    /** 
     *            @hibernate.property
     *             column="QNYSSSDQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnysssdq() {
        return this.qnysssdq;
    }

    public void setQnysssdq(BigDecimal qnysssdq) {
        this.qnysssdq = qnysssdq;
    }

    /** 
     *            @hibernate.property
     *             column="QNYSSSDH"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnysssdh() {
        return this.qnysssdh;
    }

    public void setQnysssdh(BigDecimal qnysssdh) {
        this.qnysssdh = qnysssdh;
    }

    /** 
     *            @hibernate.property
     *             column="PFYKJHSHJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getPfykjhshj() {
        return this.pfykjhshj;
    }

    public void setPfykjhshj(BigDecimal pfykjhshj) {
        this.pfykjhshj = pfykjhshj;
    }

    /** 
     *            @hibernate.property
     *             column="PFYKJHSJBZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getPfykjhsjbzj() {
        return this.pfykjhsjbzj;
    }

    public void setPfykjhsjbzj(BigDecimal pfykjhsjbzj) {
        this.pfykjhsjbzj = pfykjhsjbzj;
    }

    /** 
     *            @hibernate.property
     *             column="PFYKJHSJBSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getPfykjhsjbsq() {
        return this.pfykjhsjbsq;
    }

    public void setPfykjhsjbsq(BigDecimal pfykjhsjbsq) {
        this.pfykjhsjbsq = pfykjhsjbsq;
    }

    /** 
     *            @hibernate.property
     *             column="PFYKJHSXMZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getPfykjhsxmzj() {
        return this.pfykjhsxmzj;
    }

    public void setPfykjhsxmzj(BigDecimal pfykjhsxmzj) {
        this.pfykjhsxmzj = pfykjhsxmzj;
    }

    /** 
     *            @hibernate.property
     *             column="PFYKJHSXMSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getPfykjhsxmsq() {
        return this.pfykjhsxmsq;
    }

    public void setPfykjhsxmsq(BigDecimal pfykjhsxmsq) {
        this.pfykjhsxmsq = pfykjhsxmsq;
    }

    /** 
     *            @hibernate.property
     *             column="QNSJZCSDHXJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnsjzcsdhxj() {
        return this.qnsjzcsdhxj;
    }

    public void setQnsjzcsdhxj(BigDecimal qnsjzcsdhxj) {
        this.qnsjzcsdhxj = qnsjzcsdhxj;
    }

    /** 
     *            @hibernate.property
     *             column="QNSJZCJBZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnsjzcjbzj() {
        return this.qnsjzcjbzj;
    }

    public void setQnsjzcjbzj(BigDecimal qnsjzcjbzj) {
        this.qnsjzcjbzj = qnsjzcjbzj;
    }

    /** 
     *            @hibernate.property
     *             column="QNSJZCJBSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnsjzcjbsq() {
        return this.qnsjzcjbsq;
    }

    public void setQnsjzcjbsq(BigDecimal qnsjzcjbsq) {
        this.qnsjzcjbsq = qnsjzcjbsq;
    }

    /** 
     *            @hibernate.property
     *             column="QNSJZCXMZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnsjzcxmzj() {
        return this.qnsjzcxmzj;
    }

    public void setQnsjzcxmzj(BigDecimal qnsjzcxmzj) {
        this.qnsjzcxmzj = qnsjzcxmzj;
    }

    /** 
     *            @hibernate.property
     *             column="QNSJZCXMSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getQnsjzcxmsq() {
        return this.qnsjzcxmsq;
    }

    public void setQnsjzcxmsq(BigDecimal qnsjzcxmsq) {
        this.qnsjzcxmsq = qnsjzcxmsq;
    }

    /** 
     *            @hibernate.property
     *             column="ZBJYSHJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getZbjyshj() {
        return this.zbjyshj;
    }

    public void setZbjyshj(BigDecimal zbjyshj) {
        this.zbjyshj = zbjyshj;
    }

    /** 
     *            @hibernate.property
     *             column="ZBJYSHJJBZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getZbjyshjjbzj() {
        return this.zbjyshjjbzj;
    }

    public void setZbjyshjjbzj(BigDecimal zbjyshjjbzj) {
        this.zbjyshjjbzj = zbjyshjjbzj;
    }

    /** 
     *            @hibernate.property
     *             column="ZBJYSJBSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getZbjysjbsq() {
        return this.zbjysjbsq;
    }

    public void setZbjysjbsq(BigDecimal zbjysjbsq) {
        this.zbjysjbsq = zbjysjbsq;
    }

    /** 
     *            @hibernate.property
     *             column="ZBJYSXMZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getZbjysxmzj() {
        return this.zbjysxmzj;
    }

    public void setZbjysxmzj(BigDecimal zbjysxmzj) {
        this.zbjysxmzj = zbjysxmzj;
    }

    /** 
     *            @hibernate.property
     *             column="ZBJYSXMSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getZbjysxmsq() {
        return this.zbjysxmsq;
    }

    public void setZbjysxmsq(BigDecimal zbjysxmsq) {
        this.zbjysxmsq = zbjysxmsq;
    }

    /** 
     *            @hibernate.property
     *             column="SQJZHJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getSqjzhj() {
        return this.sqjzhj;
    }

    public void setSqjzhj(BigDecimal sqjzhj) {
        this.sqjzhj = sqjzhj;
    }

    /** 
     *            @hibernate.property
     *             column="SQJHJBZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getSqjhjbzj() {
        return this.sqjhjbzj;
    }

    public void setSqjhjbzj(BigDecimal sqjhjbzj) {
        this.sqjhjbzj = sqjhjbzj;
    }

    /** 
     *            @hibernate.property
     *             column="SQJZJBSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getSqjzjbsq() {
        return this.sqjzjbsq;
    }

    public void setSqjzjbsq(BigDecimal sqjzjbsq) {
        this.sqjzjbsq = sqjzjbsq;
    }

    /** 
     *            @hibernate.property
     *             column="SQJZXMZJ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getSqjzxmzj() {
        return this.sqjzxmzj;
    }

    public void setSqjzxmzj(BigDecimal sqjzxmzj) {
        this.sqjzxmzj = sqjzxmzj;
    }

    /** 
     *            @hibernate.property
     *             column="SQJZXMSQ"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getSqjzxmsq() {
        return this.sqjzxmsq;
    }

    public void setSqjzxmsq(BigDecimal sqjzxmsq) {
        this.sqjzxmsq = sqjzxmsq;
    }

    /** 
     *            @hibernate.property
     *             column="HZSJ_BZ"
     *             length="1"
     *             not-null="true"
     *         
     */
    public String getHzsjBz() {
        return this.hzsjBz;
    }

    public void setHzsjBz(String hzsjBz) {
        this.hzsjBz = hzsjBz;
    }

    /** 
     *            @hibernate.property
     *             column="JYZTBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getJyztbh() {
        return this.jyztbh;
    }

    public void setJyztbh(String jyztbh) {
        this.jyztbh = jyztbh;
    }

    /** 
     *            @hibernate.property
     *             column="DWBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getDwbh() {
        return this.dwbh;
    }

    public void setDwbh(String dwbh) {
        this.dwbh = dwbh;
    }

    /** 
     *            @hibernate.property
     *             column="SX"
     *             length="10"
     *         
     */
    public String getSx() {
        return this.sx;
    }

    public void setSx(String sx) {
        this.sx = sx;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this.zt1;
    }

    public void setZt1(String zt1) {
        this.zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this.zt2;
    }

    public void setZt2(String zt2) {
        this.zt2 = zt2;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("jybh", getJybh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof NzjzCzjy) ) return false;
        NzjzCzjy castOther = (NzjzCzjy) other;
        return new EqualsBuilder()
            .append(this.getJybh(), castOther.getJybh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getJybh())
            .toHashCode();
    }

}
